package com.example.clocktest

import okhttp3.ResponseBody
import retrofit2.Response
import retrofit2.http.Body
import retrofit2.http.GET
import retrofit2.http.POST
import retrofit2.http.Path

interface ApiService2 {

//    @GET("backend/Ysglhz/querYsglhzList")
//    suspend fun querYsglhzList(): Response<List<Map<String, Any>>>

    @POST("your-endpoint")
    suspend fun submitData(@Body data: String): Response<List<Repo>>

    @GET("backend/Ysglhz/querYsglhzList")
    suspend fun getRawData(): Response<ResponseBody>
}